<%@ Page Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="C_AJAXWebService.aspx.cs" Inherits="ScottCateAjax2008.Lesson02.C_AJAXWebService" Title="MS Ajax Web Service" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:ScriptManager runat="server" ID="ScriptManager1">
        <Scripts>
            <asp:ScriptReference Path="C_AJAXWebService.aspx.js" />
        </Scripts>
        <Services>
            <asp:ServiceReference Path="~/Services/NWProducts.asmx" />
        </Services>
    </asp:ScriptManager>
    
    <h1>Now this is Forward Development!</h1>
    <div>
        <b>Web Service Links</b>
        <ul>
            <li><a href="/Services/NWProducts.asmx">NWProducts.asmx</a> (<a href="\Services\NWProducts.asmx?wsdl">wsdl</a>) (<a href="/Utilities/ShowJavaScript.aspx?url=~/Services/NWProducts.asmx/js">json</a>)  (<a href="/Utilities/ShowServerCode.aspx?res=/Services/NWProducts.asmx.cs">C#</a>)</li>
        </ul>
        <a href="#GetProducts" onclick="GetProducts()">Get Products</a><br />
        <a href="#ClearProducts" onclick="ClearProducts()">Clear Products</a><br />
    </div>
    <div id="ProductList"></div>


</asp:Content>









